<?php
namespace FastPHP\Core;

class HttpException extends BaseException
{
    protected $httpCode;

    public function __construct($message = '', $httpCode = 404, $data = null)
    {
        parent::__construct($message, $httpCode, $data);
        $this->httpCode = $httpCode;
    }

    public function getHttpCode()
    {
        return $this->httpCode;
    }
} 